<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
td {text-align: center;}
a{text-decoration: none}
</style>
</head>
<body>
<center>
	<table border="1px solid blue" cellspacing="0" cellpadding="10px" >
	<tr>图书列表</tr>
	<tr>
		<td>编号</td>
		<td>书名</td>
		<td>作者</td>
		<td>出版社</td>
		<td>价格</td>
		<td>库存</td>
		<td>配图</td>
		<td>操作</td>
	</tr>
	<c:forEach items="${session.list}" var="book">
		<tr>
			<td>${book.bookid}</td>s
			<td>${book.bookname}</td>
			<td>${book.author}</td>
			<td>${book.publish}</td>
			<td>￥${book.price}（元）</td>
			<td>${book.count}（本）</td>
			<td><img height="50px" width="70px" src="/upload/${book.picture}" /></td>
			<td><a href="#">编辑</a>||<a href="book_delBook?bookid=${book.bookid}">删除</a></td>
		</tr>
	</c:forEach>
	</table>
</center>
</body>
</html>